<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Refresh" content="5" >
<link rel="styleSheet" type="text/css" media="all"
			href="<s:url value="/css/login.css"/>" />
<title>蓝海GPRS管理系统</title>
</head>
<body style="width: 1000px; text-align: center;margin: 0 auto;">
<div style="margin-left: auto;margin-right: auto;">
	<h2 align="center">接收到的信息</h2>
<s:form action="sinfo" theme="simple">
<table width="800px" border="0" cellspacing="0" cellpadding="0"
						style="border-top: 1px C1A156">
						<tr>
							<td height="25" align="left" style="">
								总共
								<s:property value="%{allPageSize}" />
								条,每页显示
								<s:property value="%{pageSize}" />
								条,当前第
								<s:if test="maxPage==0">
            0/0页
            </s:if>
								<s:else>
									<s:property value="%{currPage+1}" />/<s:property
										value="%{maxPage}" />页</s:else>
								<A href="javascript:goUrl(<s:property value="%{0}"/>)">首页</A> |
								<A href="javascript:goUrl(<s:property value="%{prvPage}"/>)">上页</A>
								|
								<A href="javascript:goUrl(<s:property value="%{nextPage}"/>)">下页</A>
								|
								<A href="javascript:goUrl(<s:property value="%{maxPage}"/>)">尾页</A>&nbsp;
							</td>
						</tr>
					</table>
<table width="800px">
	<tr>
		<th width="200px">时间</th>
		<th width="200px">IP</th>
		<th>信息内容</th>
	</tr>
	<s:iterator value="pages" status="stat">
	<tr>
		<td><s:date name="createtime" format="yyyy-MM-dd HH:mm:ss" /></td>
		<td><s:property value="ip" /></td>
		<td><s:property value="message" /></td>
	</tr>
	</s:iterator>
</table>
</s:form>
</div>
</body>
</html>